package com.lzxzjy.pojo;

public class Announcement {
    private Integer announcementId;
    private String announcementTitle;
    private String announcementContent;

    public Announcement(Integer announcementId, String announcementTitle, String announcementContent) {
        this.announcementId = announcementId;
        this.announcementTitle = announcementTitle;
        this.announcementContent = announcementContent;
    }

    public Integer getAnnouncementId() {
        return announcementId;
    }

    public void setAnnouncementId(Integer announcementId) {
        this.announcementId = announcementId;
    }

    public String getAnnouncementTitle() {
        return announcementTitle;
    }

    public void setAnnouncementTitle(String announcementTitle) {
        this.announcementTitle = announcementTitle;
    }

    public String getAnnouncementContent() {
        return announcementContent;
    }

    public void setAnnouncementContent(String announcementContent) {
        this.announcementContent = announcementContent;
    }

    @Override
    public String toString() {
        return "Announcement{" +
                "announcementId=" + announcementId +
                ", announcementTitle='" + announcementTitle + '\'' +
                ", announcementContent='" + announcementContent + '\'' +
                '}';
    }
}
